
public class Choice {
    
    private String choiceContent;
    private boolean selected; //holds status showing whether the choice is selected by the user
    private boolean answer; //holds status showing whether the choice is a correct answer of the question

    public Choice(String choiceContent){
        this.choiceContent = choiceContent;
    }

    public String getChoiceContent() {
        return choiceContent;
    }

    public void setChoiceContent(String choiceContent) {
        this.choiceContent = choiceContent;
    }

    public boolean isAnswer() {
        return answer;
    }

    public void setAnswer(boolean answer) {
        this.answer = answer;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }   
    
}
